/**
 * 
 */
package cn.wangsy.zhidao.p20170323;

/**
 * @author wangsy
 * @date 2017年3月23日上午10:40:52
 */
public class SwitchTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		int i = 9;
		switch (i) {
		default:
			System.out.println("default");
		case 0:
			System.out.println("zero");
			break;
		case 1:
			System.out.println("one");
		case 2:
			System.out.println("two");
		}

		Student student = new Student("123","wangsy","男",25);
		System.out.println(student);
		
	}

}
